﻿using PushNotificationsHelper.Demo.DataContracts;
using System.ServiceModel;

namespace PushNotificationsHelper.Demo
{
    /// <summary>
    /// Interface for a demo service that uses notifications
    /// </summary>
    [ServiceContract]
    public interface IDemoService
    {
        [OperationContract]
        void RegisterNotificationChannel(UserInfo userInfo);

        [OperationContract]
        void ConfigureNotificationChannel(UserInfo userInfo);

        [OperationContract]
        void SendMessage(UserInfo sender, UserInfo receiver, string message);

        [OperationContract]
        void InviteToChat(UserInfo sender, UserInfo receiver);

        [OperationContract]
        void RespondToAnInvitation(UserInfo guest, UserInfo chatInviter);


    }
}
